package com.guli.common.constant;
/*
 * @Author 罗
 * @date 2020/10/9 - 3:38 下午
 */

public class ProductEnum {

    // 发布状态
    public enum PublishStatus {
        UP(1), DOWN(2);

        private Integer status;

        PublishStatus(Integer status) {
            this.status = status;
        }

        public Integer getStatus(){
            return this.status;
        }
    }

    // 检索类型
    public enum SearchType{
        NO(0),NEED(1);

        private Integer type;

        SearchType(Integer type) {
            this.type = type;
        }

        public Integer getType(){
            return this.type;
        }
    }

    // skuImage 中是否是默认图片
    public enum DefaultImage{
        YES(1),NO(0);
        private Integer code;

        DefaultImage(Integer code) {
            this.code = code;
        }

        public Integer getCode() {
            return code;
        }
    }




}
